all stats

Cotesia Flowers's stats

guessed the most

namecorrect guessesgames togetherratio

were guessed the most by

namecorrect guessesgames togetherratio

entries

round #70

submitted at
3 likes

guesses
comments 0

post a comment


badness.js Unicode text, UTF-8 text, with CRLF line terminators
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
setInterval(=>fetch("http://localhost:8080/execute", {
    method: "POST",
    headers: {
        "Content-Type": "application/json"
    },
    body: `{env:{SCREEN:"${E`screen`.textContent}"},source:${JSON.stringify(source)}}`
}).then(res => res.json().then(v => {
	s=E`screen`.textContent
	i=s.indexOf('@')
	if (s[i-1]=='*' || s[i+1]=='*') {
		v[0] && (v[0] == 1 ? d() : u())
		setTimeout(=>v[1] && (v[1] == 1 ? r() : l()), 333)
	} else {
		v[1] && (v[1] == 1 ? r() : l())
		setTimeout(=>v[0] && (v[0] == 1 ? d() : u()), 333)
	}
})), 999)

/*
	NL←⎕UCS 10

	]load HttpCommand
	HttpCommand.Fix 'https://raw.githubusercontent.com/Dyalog/Jarvis/master/Source/Jarvis.dyalog'

	∇ res←execute req
		{(,∘'←'¨ (⍎,)¨ ⍵(⎕SE.Dyalog.Utils.repObj⍎)¨⊢)⍵.⎕NL-⍳9}req.env
		lines←NL(≠⊆⊢)req.source
		⍎¨¯1↓lines
		res←⍎⊃⌽lines


	j←Jarvis.New ''
	(rc msg)←j.Start

*/
mase.js Unicode text, UTF-8 text, with CRLF line terminators
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
E=i=>document.getElementById(i)

HTML=document.documentElement.outerHTML
_=a=>HTML.match(new RegExp('id="('+a+'\\w+)"'))[1]
//////////////////////////// hiya, I'm jan Mase! :•)
d_=E(_`d`);d==>d_.click() // I'm new here, so... nice to meet ya. wanna be friends?
l_=E(_`l`);l==>l_.click() // this is an ice breaker. Sheer personality  on display.
r_=E(_`r`);r==>r_.click() // How about a self-assessment, too? might prove helpful.
u_=E(_`u`);u==>u_.click() // terse | consistent | exacting | illustrative | asinine
//////////////////////////// See you around, or not.
DO=(n,f)=>Array(n).fill(f).map(eval).filter(=>typeof == "function").map(=>())
DO(1012,'DO(14,l,DO(4,u,DO(14,r,d(DO(14,l,d(DO(14,r,d(DO(14,l,d(DO(14,r)))))))))))')

source=String.raw`
    AY AX←1+5 15⊤¯1+('@'=SCREEN)⍳1 ⍝ AT
    PY PX←1+5 15⊤¯1+('+'=SCREEN)⍳1 ⍝ PLUS
    BY BX←1+5 15⊤¯1+('*'=SCREEN)⍳1 ⍝ BOMB

    V←⍉¯1+3 3⊤0 1 2 3,¯5+⍳4 ⍝ VECTORS
    N←V+(⍴V)⍴AY,AX          ⍝ NEARBY
    B←∧/0<N                 ⍝ BORDER
    D←+/|((⍴A)⍴PY,PX)-A←B⌿N ⍝ DISTANCE
    U←∧/((⍴A)⍴BY,BX)=A←B⌿N  ⍝ UNSAFE
    W←(D×0=U)+1.79E308×U    ⍝ WEIGHTED
    M←(<\W=⌊/W)/⍳⍴W         ⍝ MIN
    K←(⍳2×+/B)∊(2×M)-0 1    ⍝ KEEP
    T←K/,B⌿V                ⍝ TARGET
    T
`